import MainLayout from "../components/layout";

import { Result,  PageHeader, Button } from "antd";

import Link from "next/link";

export default function Custom403() {
  return (
    <MainLayout>
        {/* <PageHeader
      ghost={false}
      onBack={() => window.history.back()}
      title="Title"
      subTitle="This is a subtitle"
      extra={[
        <Button key="3">Operation</Button>,
        <Button key="2">Operation</Button>,
        <Button key="1" type="primary">
          Primary
        </Button>,
      ]}
    ></PageHeader> */}
      <Result
        status="403"
        title="403"
        subTitle="您没有权利访问本页面."
        extra={<Link href="/"><Button type="primary">返回首页</Button></Link>}
      />
    </MainLayout>
  );
}
